package com.wind.fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;

import com.wind.base.BaseFragment;
import com.debug.soblogin.R;


public class MeFragment extends BaseFragment {

    /**
     * 首先看是否存在，不存在，值都设置默认的，登陆了就设置成登陆的
     */

    private TextView mToLogin;
    private ImageView mIvAvatar;
    private TextView mTVSign;
    private LinearLayout skipToLogin;
    private int whichLayout = 0;
    private TextView mLogout;
    private LinearLayout ly;


    @Override
    protected View loadRootView(LayoutInflater inflater, ViewGroup container) {


        return inflater.inflate(R.layout.fragment_me, container, false);

    }


    @Override
    protected void initView(View rootView) {
        //找到头像，昵称，签名
        ly = rootView.findViewById(R.id.my_info);

        ly.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Toast.makeText(getContext(), "亲，这里的功能还没做好呢😭", Toast.LENGTH_LONG).show();
            }
        });
    }


}
